package com.sq.partner.manager.dao;

import java.util.HashMap;

import com.sq.partner.manager.mybatis.model.ActirationCardCancel;
import com.sq.partner.manager.util.Page;

/**
 * 激活卡作废Dao
 * 
 * SQ
 *
 */
public interface ActirationCardCancelDao extends BaseDao {

    /**
     * 根据条件分页查询
     * 
     * @param page
     * @return
     * @throws Exception
     */
    public Page<ActirationCardCancel> queryPage(Page<ActirationCardCancel> page)
            throws Exception;

    /*
     * 卡单作废
     * 
     * @param paramMap
     * @return
     * @throws Exception
     */
    public boolean updateCardCancel(HashMap<String, Object> paramMap)
            throws Exception;

    /*
     * 卡单批量卡号区间作废
     * 
     * @param paramMap
     * @return
     * @throws Exception
     */
    public boolean updateCardCancelBatch(HashMap<String, Object> paramMap)
            throws Exception;

    /*
     * 作废总览
     */
    public Page<ActirationCardCancel> queryCancelPage(
            Page<ActirationCardCancel> page) throws Exception;

    /*
     * 作废明细
     */
    public Page<ActirationCardCancel> queryCancelDetailPage(
            Page<ActirationCardCancel> page) throws Exception;
}
